Techniques for generating diagnostic results

ABSTRACT

Techniques for performing diagnostics for a monitored system. In one set of embodiments, an aggregate model can be built from a set of models corresponding to entities (e.g., applications and systems) in the monitored system, and data from the monitored system can be applied to the aggregate model. Diagnostic result information can then be generated based on the application of the data to the aggregate model. In certain embodiments, generating the diagnostic result information can include determining a state of an application or system in the monitored system and determining an impact of the state to a user.

CROSS-REFERENCES TO RELATED APPLICATIONS

The present application incorporates by reference for all purposes the entire contents of the following related applications:

(1) U.S. application Ser. No. 12/485,759 entitled TECHNIQUES FOR DETERMINING MODELS FOR PERFORMING DIAGNOSTICS filed Jun. 16, 2009;

(2) U.S. application Ser. No. 12/485,763 entitled TECHNIQUES FOR BUILDING AN AGGREGATE MODEL FOR PERFORMING DIAGNOSTICS filed Jun. 16, 2009; and

(3) U.S. application Ser. No. 12/485,766 entitled TECHNIQUES FOR GATHERING EVIDENCE FOR PERFORMING DIAGNOSTICS filed Jun. 16, 2009.

BACKGROUND

The present disclosure relates in general to diagnostics, and in particular to techniques for generating diagnostic results in response to a diagnostic request.

Various conventional techniques exist in the industry today to perform problem diagnosis. These techniques may range from expert systems at one end of the spectrum for diagnosability to tribal knowledge forums and self-service knowledge bases at the other end. Expert systems have not been successful in establishing themselves as the de-facto tool for problem diagnosis. For example, expert systems are generally rule-based and deterministic. It can be a challenging task to determine a set of rules to correctly identify problems in a generic environment that applies to all user systems. Further, full failure data may not be readily available for problem diagnosis, often resulting in failed rule assertions. With only partially captured failure data, it is often difficult to identify an appropriate set of rules that can correctly identify the cause of a problem.

These issues are not solved by tribal knowledge forums and self-service knowledge bases. These forums and knowledge bases are based on expressing tribal knowledge in an unstructured form via text or discontinued discourse threads that may require users to tediously read, understand, and interpret the often-incomplete tribal knowledge into corrective actions. Finding the right textual documents that describe the problem is often difficult and time-consuming. Accordingly, problem diagnosis based on tribal knowledge that is expressed in unstructured forms via a knowledge base and discontinued discourse in online forums may result in incomplete or unclear problem signature and characterization. Further, these approaches may require certain subjective interpretation from users, resulting in incorrect problem isolation and identification that leads to false faults.

BRIEF SUMMARY

Embodiments of the present invention provide techniques for performing diagnostics for a monitored system. In one set of embodiments, an aggregate model can be built from a set of models corresponding to entities (e.g., applications and systems) in the monitored system, and data from the monitored system can be applied to the aggregate model. Diagnostic result information can then be generated based on the application of the data to the aggregate model. In certain embodiments, generating the diagnostic result information can include determining a state of a system or application in the monitored system and determining an impact of the state and remedies to resolve the issue to a user.

According to an embodiment of the present invention, an aggregate model comprising a plurality of models and links between the models can be received. Each model in the plurality of models can correspond to a system or an application in a monitored system. Further, data related to the monitored system can be received. Diagnostic result information for a system or an application in the monitored system can then be generated by applying the data to the aggregate model. Generating the diagnostic result information can comprise determining a state of the system or the application and determining an impact of the state to a user of the system or the application. In certain embodiments, the state can correspond to a condition that is observable by or otherwise meaningful to the user.

In one set of embodiments, determining the impact can comprise determining whether the user can or cannot perform an operation with respect to the system or the application.

In one set of embodiments, an alert (e.g., a monitoring event or ticket) can be generated for the user based on the impact. Generating the alert can comprise accessing a decision table including associations between a plurality of alerts and a plurality of impacts, and generating the alert if the alert is associated with the impact in the decision table.

In one set of embodiments, generating the diagnostic result information can further comprise determining one or more remedial actions that can be taken by the user to mitigate or resolve the impact.

In one set of embodiments, generating the diagnostic result information can further comprise determining one or more possible root causes of the state and a likelihood of each possible root cause.

In one set of embodiments, each model in the plurality of models can comprise a plurality of nodes and directed links between the nodes. Each node can correspond to a fault in the system or the application, and each directed link can correspond to a causal relationship between faults.

In one set of embodiments, determining the condition of the system or the application can comprise identifying a summary node in the model corresponding to the system or the application and determining the state based on the summary node.

In one set of embodiments, generating the diagnostic result information can comprise determining one or more possible root causes of the state. In addition, determining the one or more possible root causes can comprise identifying one or more predecessor nodes that precede the summary node in the model and determining the one or more possible root causes based on the one or more predecessor nodes.

In one set of embodiments, each model in the plurality of models can be a Bayesian network.

The foregoing, together with other features and embodiments will become more apparent upon referring to the following specification, claims, and accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a simplified block diagram of a system incorporating an embodiment of the present invention.

FIG. 2 is a simplified block diagram of components of a causal heuristic system according to an embodiment of the present invention;

FIG. 3 is a simplified flowchart depicting a method for performing diagnostics according to an embodiment of the present invention;

FIG. 4A is a simplified flowchart depicting a method for generating a topological relationship between applications and systems according to an embodiment of the present invention;

FIG. 4B depicts an example of a simple topological relationship that may be generated between applications and systems according to an embodiment of the present invention;

FIG. 5 is a simplified flowchart depicting a method for identifying a set of models for a topological relationship according to an embodiment of the present invention;

FIG. 6A is a simplified flowchart depicting a method for generating an aggregate model according to an embodiment of the present invention;

FIG. 6B depicts a simple topological relationship according to an embodiment of the present invention;

FIG. 6C represents an aggregate model generated for the topological relationship depicted in FIG. 6B according to an embodiment of the present invention;

FIG. 7 is a simplified flowchart depicting a method for determining a set of probes and retrieving evidence information for performing diagnosis according to an embodiment of the present invention;

FIG. 8 is a simplified flowchart depicting a method for generating diagnostic result information according to an embodiment of the present invention;

FIG. 9 depicts an example of how diagnostic result information may be output according to an embodiment of the present invention;

FIG. 10A depicts a simplified causal network for an application according to an embodiment of the present invention;

FIG. 10B depicts a simplified causal network for a system according to an embodiment of the present invention;

FIG. 11 is a simplified block diagram illustrating physical components of a system environment that may be used in accordance with an embodiment of the present invention; and

FIG. 12 is a simplified block diagram of a computer system that may be used to practice an embodiment of the present invention.

DETAILED DESCRIPTION

In the following description, for the purposes of explanation, specific details are set forth in order to provide a thorough understanding of embodiments of the invention. However, it will be apparent that the invention may be practiced without these specific details.

FIG. 1 is a simplified block diagram of a system 100 incorporating an embodiment of the present invention. As depicted in FIG. 1, system 100 comprises a processing system 102 that is configured to provide diagnostic services for one or more systems 110 (referred to as monitored systems). A monitored system 110 may be a software system, a hardware system, an enterprise system, and the like, or combinations thereof For example, monitored system 110 may be a complex enterprise software system such as a database system and related products provided by Oracle Corporation™ of California. Monitored system 110 may comprise one or more systems (e.g., may be an eco-system of multiple systems) with each system running one or more applications. Accordingly, reference to a monitored system may imply one or more systems included in the monitored system. While only one monitored system 110 is depicted in FIG. 1, it should be apparent that multiple monitored systems may be serviced by processing system 102. These monitored systems may represent different products or systems, or different instances or installations of the same product.

As depicted in FIG. 1, processing system 102 may comprise several components or subsystems that provide monitoring and diagnostic services for one or more monitored systems 110. These subsystems may include a user interface 104, a ticketing system 106, a monitoring system 108, a causal heuristic system 112, a data store 114, and a result renderer 116. The subsystems of processing system 102 may be implemented in software (e.g., code, instructions, program) executed by one or more processors of processing system 102, hardware, or combinations thereof It should be apparent that the subsystems depicted in FIG. 1 are not intended to limit the scope of the present invention, as recited in the claims. In alternative embodiments, processing system 102 may have more or less subsystems than the ones depicted in FIG. 1.

In one embodiment, processing system 102 is configured to receive inputs from various sources and perform diagnostic processing responsive to the inputs. The inputs may be received from various sources including but not limited to monitored system 110, one or more users, and other systems such as client system 120. For example, processing system 102 may receive inputs in the form of system information and conditions related to the monitored system from monitored system 110. Processing system 102 may receive diagnostic requests from one or more users. A user may be, for example, an analyst 118 configured to analyze and respond to problems in monitored system 110, and others. Users may be located remotely from processing system 102. For example, a user may use client system 120 located remotely from processing system 102 to send a diagnostic request. Client system 120 may be coupled communicatively with processing system 102 via communication network 122. Client system 120 may be for example a computer, a mobile device such as a cell phone, a personal digital assistant (PDA), and the like.

Processing system 102 may provide various interfaces for inputting information to processing system 102. For example, a user interface 104 may be provided for submitting diagnostic requests. In one embodiment, user interface 104 may be a graphical user interface that enables users, such as analysts, to enter diagnostic requests. User interface 104 may also provide other types of interfaces including but not limited to a command line interface (CLI), a web interface, and the like. In one embodiment, an interactive session may be provided during which a user may enter one or more diagnostic requests via user interface 104 and information generated in response to the user requests may be output to the user via user interface 104. User interface 104 is configured to receive diagnostic requests and forward the requests to the appropriate component of processing system 102 for further processing, such as to ticketing system 106 or to causal heuristic system 112. In one embodiment, user interface 104 may be a support desk application that may be used by users. Client systems 120 may also use user interface 104 to submit information and requests to processing system 102.

In some embodiments, users may also be allowed to send requests to processing system 102 without having to go through user interface 104. For example, diagnostic requests may be sent directly to components of processing system 102 such as to causal heuristic system 112.

In one embodiment, monitoring system 108 is configured to monitor the status and working condition of monitored system 110. In an embodiment where monitored system 110 comprises multiple systems executing multiple applications, monitoring system 108 may be configured to monitor the status and working conditions of one or more of the systems included in monitored system 110 and/or one or more of the applications. The monitoring may be performed in real-time. For example, monitoring system 108 may detect one or more conditions in monitored system 110. The one or more conditions detected in monitored system 110 may include errors or other problems in monitored system 110. Examples of conditions which trigger an alert condition may be CPU resource usage, disk usage, application performance characteristics.

In one embodiment, monitoring system 108 is configured to generate one or more alerts upon the occurrence or detection of certain conditions in monitored system 110. Monitoring system 108 may communicate the generate alerts to causal heuristic system 112 for further processing. An alert generated by monitoring system 108 may comprise various different types of information related to the detected conditions. For example, in one embodiment, an alert generated by monitoring system 108 may comprise the following information:

-   -   Information identifying a symptom type, e.g., CPU utilization at         80%, memory usage at 90%, no response, etc. The symptom type may         be based upon conditions detected by monitoring system 108 in         monitored system 110.     -   Information identifying an instance of an application that gives         rise to the alert, e.g., a particular instance of a database         application;     -   Information identifying an instance of a system in which the         application that gives rise to the alert is executed, e.g., a         database or other system executing the one or more applications         that caused generation of the alert; and     -   Other information associated with the alert.

In one embodiment, upon occurrence or detection of a condition in monitored system 110, monitoring system 108 may communicate the information identifying the detected condition to ticketing system 106. The information provided to ticketing system 106 may comprise various different types of information associated with the detected condition, such as a symptom type of the detected condition, a timestamp indicating a time of occurrence of the detected condition, an error number and one or more error arguments associated with the detected condition, and other information associated with the detected condition. In one embodiment, the information identifying a condition detected in monitored system 110 may be communicated to ticketing system 106 using different types of data formats, including technical assistance requests (TAR) format and others.

Ticketing system 106 is configured to receive inputs from various sources and based upon the inputs generate diagnostic requests that are communicated to causal heuristic system 112 for further processing. For example, upon receiving information identifying a condition detected in monitored system 110 from monitoring system 108, ticketing system 106 may automatically generate a diagnostic request for the detected condition based upon the information received. A diagnostic request generated by ticketing system 106 may comprise various different types of information. For example, a diagnostic request that is generated for a condition detected in monitored system 110 may comprise information identifying a symptom type of the detected condition (e.g., CPU utilization at 80%, memory usage at 90%, no response, etc.), information identifying an instance of an application that gave rise to the detected condition (e.g., a particular instance of a database application, etc.), information identifying an instance of a system in which the application that gave rise to the condition is executed (e.g., a database system may comprise one or more database applications, etc.), component version numbers, in some cases a full diagnostic dataset as required by processing system 102, and other information that is associated with the detected condition.

Ticketing system 106 may also receive a diagnostic request provided by a user (e.g., analyst 118) via user interface 104. The diagnostic request may request diagnostics to be performed for a particular application or system or for a particular condition or error in monitored system 110. For example, a user may specifically request problem diagnosis for a database application that is executed in a particular system at a particular instance of time. Likewise, an analyst 118 may request problem diagnosis for a particular application executed in a computer system. The diagnostic request information that is received from a user may comprise information identifying a symptom type of a particular condition that the user is interested in diagnosing (e.g., CPU utilization at 80%, memory usage at 90%, no response, etc.), information identifying an instance of an application that gave rise to a specific condition (e.g., a particular instance of a database application, etc.), information identifying an instance of a system in which the application that gave rise to the condition is executed, and other information. Ticketing system 106 is configured to forward the diagnostic requests received from users to causal heuristic system 112.

Ticketing system 106 may also receive system information from monitored system 110 and generate diagnostic requests based upon the received information. The diagnostic requests may be forwarded to causal heuristic system 112.

Causal heuristic system 112 is configured to receive inputs, including alerts and diagnostic requests, from multiple sources including monitoring system 108, ticketing system 106, from user interface 104, directly from one or more users, and the like. In response to the inputs, causal heuristic system 112 is configured to perform diagnostic processing based upon the inputs. In one embodiment, given a diagnostic alert or request, causal heuristic system 112 is configured to determine relationships between applications and/or system for the alert or request, perform diagnosis of the errors or problems, determine potential causes of the problems or errors, and identify repeat frequencies of the problems or errors (possibly over a user-specifiable time period). The results of the diagnosis may be provided to the requesting entity such as analyst 118. Causal heuristic system 112 may also initiate or recommend one or more corrective or preventive measures to mitigate or resolve the identified problems.

Causal heuristic system 112 may work in an automated lights-out mode as well as in an interactive mode. In the lights-out mode, causal heuristic system 112 may receive alerts and requests from one or more components of system 100 such as from ticketing system 106 or from monitoring system 108 and perform diagnostic activities in response to the received inputs. The diagnostic activities may be performed across multiple systems or applications in a monitored system or across multiple monitored systems. This may be done automatically without the user of monitored system 110 being aware of the problems or diagnostics. In the lights-out mode, a customer may not even know that monitored system 110 had a problem since the problem has been automatically detected and either resolved automatically by processing system 102, or manually by an administrator of monitored system 110 possibly upon receiving suggestions or recommendations from processing systems 102.

In the interactive mode, causal heuristic system 112 may receive interactive requests from one or more users, including analysts 118, and perform interactive diagnostic processing in response to the requests.

The data used by causal heuristic system 112 for diagnostic processing and/or the data generated by the diagnostic processing performed by causal heuristic system 112 may be stored in data store 114. Result renderer 116 is configured to extract results of the diagnostic processing from data store 114 and provide the results to a user. Results renderer 116 may be configured to generate one or more reports based upon the extracted results and present the results to the user. In one embodiment, a result renderer 116 may be used to format the results into a representation that is then output to analyst 118. For example, result objects resulting from the diagnosis may be parsed to create XML (e.g., XML report) comprising the result data. The XML format facilitates transfer of the results between applications. The result XML may be transformed by renderer 116 using a simple XSLT or some other transformation into a form to be displayed to the analyst. There are different ways in which diagnostic results may be presented to a user.

In one set of embodiments, the diagnostic results can include state information specifying a state of a system or application in monitored system 110 that is referenced by (or related to) a received alert or diagnostic request. The state can correspond to a condition of the system or application that is observable by or otherwise meaningful to a user. Thus, the state can provide a user with a high-level view of the health or performance level of the system or application. The diagnostic results can also include impact information identifying the impact of the system/application's state to a user.

In further embodiments, the diagnostic results can recommend one or more preventive or curative measures to mitigate or resolve the impact described above. The user can then take one or more actions based upon the recommendations. For example, an analyst 118 may install appropriate patches that solve a particular failure detected in a system or application of monitored system 110. In another embodiment, analyst 118 can inform the client to take appropriate corrective/preventive measures.

In yet further embodiments, the diagnostic results can include causal information specifying one or more root causes of the symptoms for which diagnostic processing is performed by causal heuristic system 112, and the likelihood if each identified cause. The diagnostics results can also include the relevant data used by causal heuristic system 112 for performing the diagnostics to enable the user to gain further insight into the problem, if needed.

FIG. 2 is a simplified block diagram of components of causal heuristic system 112 according to an embodiment of the present invention. In the embodiment depicted in FIG. 2, causal heuristic system 112 comprises several subsystems including a listener 202, a ticket queue 204, a Web service 206, a filter 208, an evidence collector 210, and a diagnostic system 212. The subsystems of causal heuristic system 112 depicted in FIG. 2 may be implemented in software (e.g., code, instructions, program) executed by a processor of processing system 102, hardware, or combinations thereof. The software may be stored on a computer-readable storage medium. It should be apparent that the subsystems depicted in FIG. 2 are not intended to limit the scope of the present invention, as recited in the claims. In alternative embodiments, causal heuristic system 112 may have more or less subsystems than the ones depicted in FIG. 2.

Listener 202 is configured to listen for incoming alerts including alerts received from monitoring system 108. For example, monitoring system 108 may be configured to monitor the status of monitored system 110 and send an alert to causal heuristic system 112 upon detection of particular condition(s) in monitored system 110. Listener 202 may be configured to receive these alerts from monitoring system 108 and forward the alerts to filter 208 for further processing.

An alert received by causal heuristic system 112 may comprise various different types of information related to the one or more conditions that caused the alert to be generated. For example, in one embodiment, an alert received by causal heuristic system 112 may include information identifying one or more symptoms that caused the alert, information identifying one or more instances of one or more applications experiencing the symptoms that gave rise to the alert, information identifying one or more instances of one or more systems of monitored system 110 in which the conditions or symptoms that caused the alert were detected, and the like. In one embodiment, the symptoms information may be specified in the form of a symptom type. Likewise, the applications information may be specified in the form of one or more application types (e.g., Oracle™ database, Oracle™ Apps, WORD application, EXCEL spreadsheet application, user interface application, etc.). The systems of monitored system 110 identified in an alert may correspond to systems executing one or more applications in which the symptoms or conditions that caused the alert to be generated are detected.

An example of an alert received at causal heuristic system 112 may comprise information as follows:

-   -   “CPU utilization at 80% for database application A1 in computer         system S1”         The above alert states that CPU utilization at 80% (symptom         type) has been detected for database application A1 (application         type) executed in computer system S1 (system information).

In one embodiment, ticket queue 204 is configured to provide a queue repository for storing diagnostic requests, including diagnostic requests received from ticketing system 106. Different types of data structures may be used to implement queue 204. Ticket queue 204 may represent one or more queues of different types such as FIFO queues, priority queues, etc. A diagnostic request received at ticket queue 204 may comprise various different types of information. In one embodiment, a diagnostic request received at ticket queue 204 includes information similar to the information contained in an alert or a subset thereof, as previously described. Ticket queue 204 may be configured to forward the received diagnostic requests to filter 208 in an order that is designated by the particular queue (e.g., a FIFO queue).

Web service component 206 provides an interface for receiving diagnostic requests and sending the requests to causal heuristic system 112. The diagnostic requests may be received from one or more users such as analysts 118. The diagnostic requests may also be received from client systems 120. A diagnostic request received by Web service 206 may comprise various different types of information. In one embodiment, the diagnostic request includes information similar to the information contained in an alert or a subset thereof, as previously described. Web service 206 is configured to forward the diagnostic requests to filter 208 for further processing.

As described above, filter 208 receives diagnostic requests and alerts received by causal heuristic system 112. In one embodiment, filter 208 is configured to apply a filter to the requests and/or alerts such that only those requests or alerts that meet some predefined criteria are selected and forwarded to diagnostic system 212 for further processing. Alerts or requests that do not satisfy the filter criteria are filtered out and dropped.

The filter criteria used by filter 208 is user-configurable. Various different filter criteria may be specified. In one embodiment, only those diagnostic requests and alerts for which one or more diagnosis models exists are selected by filter 208 and forwarded to diagnostic system 212. In such an embodiment, filter 208 is configured to, based upon the information included in the diagnostic request or alert, determine if one or more diagnostic models exist for performing diagnostics for the request or alert. If such one or more diagnostic models exist, then the diagnostic request or alert is deemed to have met the filter criteria and is selected and forwarded to diagnostic system 212 for further processing. If no diagnostic model is deemed to exist for the diagnostic request or alert, then the diagnostic request or alert is deemed to have not met the filter criteria, is deemed a false alert or exception request, and is dropped (i.e., not forwarded to diagnostic system 212 for further processing).

As indicated above, the information included in a diagnostic request or alert is used to determine whether the diagnostic request or alert is dropped or forwarded to diagnostic system 212 for further processing. Various different pieces of information (e.g., symptom type, application, system, etc.) contained in the diagnostic request or alert may be used to determine whether or not a diagnostic model exists for processing the diagnostic request or alert. In one embodiment, the symptom type and application type information included in a diagnostic request or alert is used to determine if one or more diagnostic models exist for processing the diagnostic request or alert. In such an embodiment, a mapping table may be provided identifying symptom types, application types, and diagnostic models that exist for combinations of symptom types and application types. This table may then be used by filter 208 to determine if one or more models exist for processing a diagnostic request or alert. Such a table may be configured during design time and stored in data store 114 as model mapping information 114A. Mapping information 114A may then be used during runtime by filter 208.

Table 1 below shows an example of mapping information that may be configured for an embodiment of the present invention.

TABLE 1 Symptom Type Application Type Diagnostic Model CPU utilization at 80% A1 M1 Memory usage at 90% A2 M2 No Response A2 M3 No Response A3 M4

As shown above, each row of Table 1 identifies a symptom type, an application type, and a diagnostic model to be used given a particular symptom type and application type identified in the row. For example, for an alert or diagnostic request that has Symptom Type=“CPU utilization at 80%” and Application Type=“A1”, a diagnostic model “M1” is to be used for performing diagnostics for the alert or request. For an alert or diagnostic request that has Symptom Type=“Memory usage at 90%” and Application Type=“A2”, a diagnostic model “M2” is to be used for performing diagnostics for the alert or request. Likewise, for an alert or diagnostic request that has Symptom Type=“No Response” and Application Type=“A2”, diagnostic model “M3” is to be used for performing diagnostics for the alert or request. It should be noted that Table 1 does not comprise any row having a Symptom Type for Application Type=“A5”. Accordingly, if an incoming diagnostic request or alert a symptom for Application Type=“A5”, then it will be determined based upon Table 1 that no diagnostic model exists for such a diagnostic request or alert and the diagnostic request or alert will consequently be dropped by filter 208 and no diagnostics will be performed for the diagnostic request or alert.

Diagnostic system 212 is configured to receive inputs in the form of alerts and/or diagnostic requests from filter 208 and perform diagnostic processing for the alerts or requests. In one embodiment, based upon the received diagnostic request or alert, diagnostic system 212 is configured to determine an application and system and set of related applications and systems. The related applications or systems may be determined based upon related information 114F preconfigured for the monitored system and stored in data store 114. A topological relationship is then generated based upon the application and system identified in the alert or diagnostic request and based upon the related applications and systems. The topological relationship may be stored in data store 114 as topological information 114B. A set of models to be used for diagnostics may then be determined from the topological relationship. The models may be selected from models information 114C stored in data store 114 and may correspond to the models of applications and systems included in the topological relationship. In one embodiment, mapping information 114A may be used to determine models corresponding to the systems and applications included in the topological relationship. An aggregate model may then be created using the determined set of models and based upon the topological relationship. A set of probes may then be identified and run to gather evidence information for the alert or request using the aggregated model. The evidence information 114D may also be stored in data store 114. Diagnostic processing may then be performed by applying the collected evidence to the aggregate model. The results 114E of the diagnostic processing may be stored in data store 114. Services of results renderer 116 may be used to present the diagnostic results to a user. Reports may also be generated based upon the diagnostic results.

FIG. 3 is a simplified flowchart 300 depicting a method for performing diagnostics according to an embodiment of the present invention. The method depicted in FIG. 3 may be performed by software (e.g., code, program, instructions) executed by a processor, in hardware, or combinations thereof. The software may be stored on a computer-readable storage medium. In one embodiment, the processing is performed by causal heuristic system 112 depicted in FIGS. 1 and 2. The method depicted in FIG. 3 is not intended to limit the scope of the application as recited in the claims.

As depicted in FIG. 3, processing is initiated upon receiving an alert or a diagnostic request (step 302). The information received in 302 may include information identifying one or more symptoms or symptom types, information identifying one or more instances of one or more application types experiencing the symptoms that gave rise to the alert, information identifying one or more instances of one or more systems of monitored system 110 in which the conditions or symptoms that caused the alert were detected, and the like.

In some embodiments, instead of identifying an application type, the information received in 302 may identify one or more instances of applications. In such embodiments, based upon the applications information received at 302, an application type associated with the alert or the diagnostic request received in 302 may be determined (step 304). For example, given an instance of an application that gives rise to the alert or diagnostic request, an application type corresponding to the instance of the application that triggers the alert may be determined based upon some predefined configuration information. The predefined configuration information may be stored in data store 114.

Processing is then performed to determine if the alert or request received in 302 satisfies the filter criteria and is selected for further processing. As part of this processing, based upon the information received in 302, a determination is made if one or more models exist for performing diagnostic processing for the received alert or the diagnostic request (step 306). As previously described, in one embodiment, the filtering may be based upon the symptom type information received in 302 and the application type information received in 302 or determined in 304. For example, a mapping table such as Table 1 described above may be used for determining if there is a corresponding diagnostic model for the alert or the diagnostic request received in 302.

If it is determined in 306 that there is no corresponding diagnostic model for the alert or the diagnostic request received in 302, then the alert or the diagnosis request is discarded and processing ends (step 308). In this case, no diagnosis is performed for the alert or the diagnostic request.

If it is determined in 306 that one or more diagnostic models exist for performing diagnostic processing for the alert or request, then processing continues with step 310. A topological relationship between systems and applications is then generated for the alert or diagnostic request received in 302 (step 310). In one embodiment, as part of the processing performed in 310, one or more systems and applications are determined based upon the information received in 302 or determined in 304. A topological relationship is then determined for the identified applications and systems. Further details related to how the applications and systems are identified and how the topological relationship is created are discussed below with reference to FIGS. 4A and FIG. 4B.

A set of models are then identified for the systems and applications included in the topological relationship generated in 310 (step 312). The set of models identified in 312 represent the models to be used for performing diagnostics for the alert or diagnostic request received in 302. In one embodiment, one or more mapping tables may be used to map an application or a system in the topological relationship generated in 310 to a corresponding diagnostic model.

In one embodiment, each model identified in 312 is a causal network represented by a Bayesian network. A Bayesian network is commonly used to represent joint probability distribution between a set of variables. According to an embodiment of the present invention, each Bayesian network models the causal structure of a domain. The domain may be an application or a system, etc. Such Bayesian network models may be referred to as causal Bayesian networks since they represent causation between a set of variables. A causal Bayesian network is typically a directed acyclic graph (DAG) of nodes and arcs (or links) between one or more of the nodes. The nodes represent the variables and arcs or links between the nodes denote direct probabilistic dependencies between variables denoted by the nodes. A conditional probability distribution is associated with each node in the network, such that the probability distribution associated with a node is the probability of the state represented by the node given the states represented by the parent nodes of the node. Each node is either described by a probability distribution conditional on its direct predecessors or by its prior or historical probability of occurrence. A causal Bayesian network provides insight into interactions among the variables represented by the nodes and arcs of the network.

In one embodiment, causal network models are specified for application and system components of monitored system 110. Each causal network is modeled using a Bayesian network and models the application or system's parts, especially parts that can fail and can be fixed at the monitored system's site. For example, independent causal network models are specified for sub-systems and components of monitored system 110. Each causal network models an explanation of the system or application's failures and what part causes the failure, and so on. In one embodiment, the nodes of a model represent either faults or observations and the relationships define the degree of influence among the nodes. Faults are the underlying causes that the model tries to infer based on the state of linked observations. Conditional probability dictates the influence on such relationships. Directionality of a relationship in a model indicates the causal flow, i.e., cause to effect propagation.

In one embodiment, each causal network model comprises a plurality of nodes including one node that is designated as an input node and one or more nodes designated as output nodes. As explained below in further detail, an input node of a model represents a node to which an output node of another model can connect to during assembly of an aggregated model. Each output node of a model represents a summarization of the combination of the node's direct predecessor nodes in the model. In this manner, each output node summarizes the combined effect of one or more faults represented by its predecessors. The overall accuracy of the unique fault combination represented by the output node can be measured and improved via the output node. The summary represented by an output node represents the unique behavioral pattern in the network model.

In one embodiment, a selected node from the output nodes of a model is designated as a summary node. A summary node is a leaf node in the DAG and has no outgoing relationships defined for it. A summary node can be an observable or non-observable fault node. When it is an observable fault node, it represents an end-user visible state. When modeled as a non-observable fault node, it represents the component's health from a particular viewpoint. A network model can have one or more summary nodes, with only one marked as a primary summary node. This primary summary node is used to connect the model to input nodes of other models during aggregate model assembly.

An example of a causal network model for an application is depicted in FIG. 10A. FIG. 10A depicts a web server application model that has one output summary node 1002 and two input nodes 1004 and 1006. Output summary node 1002 represents the summarization of the user-visible behavior of the application and in the example depicted in FIG. 10A the response of the web server if based on the combined effect of its internal processes and configuration settings. Input nodes 1004 and 1006 are the nodes where the outgoing nodes of other relevant models are connected.

An example of a causal network model for a system is depicted in FIG. 10B. FIG. 10B depicts a computer system model with one output summary node 1020 but no input node. Output node 1020 represents the overall performance state of a overall system based on the combined effects of independent system behaviors, like number of processes, CPU, memory etc.

Referring back to FIG. 3, an aggregate model is then assembled or generated based on the topology relationship generated in 310 and using the set of models identified in 312 (step 314). In this manner, an aggregate causal Bayesian model is generated using the individual models determined in 312. The aggregate model comprises the models determined in 312. The models corresponding to the applications and systems are connected to one another according to the hierarchical relationships between the applications and systems in the topological relationship generated in 310. Two models are connected by connecting the summary node of the parent model to the input node of the child model. In this manner, a single aggregate model is assembled using the individual independent models. Further details regarding assembly of the aggregate model are discussed below with reference to FIG. 6A.

The aggregate model generated in 314 is then used to determine a set of probes to be run for collecting evidence information (step 316). In one embodiment, the set of probes determined in 316 correspond to a set of tests to be run on monitored system 110 to collect evidence to be used for the diagnostic processing to be performed for the alert or request received in 302.

The set of probes determined in 316 are executed or run on monitored system 110 to collect evidence information (step 318). The probes may be run automatically or manually. In one embodiment, one or more requests are generated, each request comprising one or more probes to be run. The requests are then sent to monitored system 110 to be executed. The evidence information collected as a result of running the probes is then forwarded to causal heuristic system 112. The evidence information comprises information identifying the observed state of monitored system 110. The observable information about monitored system 110 that is included in the evidence information may include configuration information of monitored system 110, results of executing scripts in monitored system 110, information from log files for monitored system 110, and the like.

Diagnostic processing is then performed by applying the evidence information collected in 318 to the aggregate model generated in 316 (step 320). In one embodiment, the processing performed in 320 involves drawing inferences from the evidence information or observations collected in 318. The inferences are drawn from applying the evidence information to the aggregate model generated in 316. Since the aggregate model is a causal Bayesian network, in one embodiment, the diagnostic inference identifies most likely root causes of the observations. Accordingly, given a set of observations and symptoms, the diagnostic system is able to infer possible root causes for the symptoms. In this manner, the most likely root cause for the alert or diagnostic request received in 302 may be discovered automatically and resolved in a timely manner.

In one embodiment, a software engine such as GeNIe is used for applying the evidence information collected in 318 to the aggregate causal Bayesian network constructed in 314. GeNIe is a software tool that facilitates analysis of Bayesian networks. GeNIe may also be used to construct Bayesian networks. For example, the individual models for the applications and systems may be constructed using GeNIe. Other engines or techniques may be used in alternative embodiments.

Results from performing the diagnostics in 320 can be stored and/or output (step 322). For example, the results may be stored in data store 114. The diagnostic results can also be output to a user or provided to some other processing component for further processing. In one set of embodiments, the diagnostic results can include state information specifying the states of one or more systems or applications in monitored system 110 that are referenced by (or related to) the received alert or diagnostic request. These states can correspond to conditions of the systems or applications that are observable by or otherwise meaningful to a user. In further embodiments, the diagnostic results can include impact information specifying the impact of a particular system/application's state to a user, and preventive or curative measures to mitigate or resolve the impact. In yet further embodiments, the diagnostic results can include causal information specifying one or more root causes of the symptoms included in the received alert or diagnostic request and the likelihood of each identified cause.

In certain embodiments, result renderer 116 can be used to output results in a particular format, such as in XML format (e.g., XML report), HTTP format, and the like. Result renderer 116 can also be used to generate one or more reports based upon the diagnostic results. These reports can be pushed to or pulled by one or more users.

FIG. 4A is a simplified flowchart 400 depicting a method for generating a topological relationship between applications and systems according to an embodiment of the present invention. The method depicted in FIG. 4A may be performed by software (e.g., code, program, instructions) executed by a processor, in hardware, or combinations thereof. The software may be stored on a computer-readable storage medium. The method depicted in FIG. 4A is not intended to limit the scope of the application as recited in the claims. The processing depicted in FIG. 4A assumes that an alert or diagnostic request has been received. As described above, the alert or diagnostic request may comprise information identifying a symptom or symptom type, information identifying an application instance, information identifying a system, and the like.

As depicted in FIG. 4A, an application and a system are determined from the information in the alert or diagnostic request (step 402). In one embodiment, both the application and system may be identified in the alert or diagnostic request. In another embodiment, the alert or request may simply identify an application and the system determined in 402 corresponds to a system on which the identified application executes.

A set of applications that are related to the application identified in 402 are determined (step 404). In one embodiment, the data flow dependencies of the application identified in 402 are analyzed to determine other applications that are related to the application. As part of this analysis, applications that provide data (i.e., are upstream in the data flow to the application identified in 402), either directly or indirectly, to the application identified in 402 are determined. In some embodiments, one or more applications that receive data from the application identified in 402 may also be included in the set of related applications.

In one embodiment, information may be stored in data store 114 identifying dependencies and relationships between applications and systems. For a particular application, the stored information may identify other applications that are either directly or indirectly related to the particular application. The stored information may also identify the systems on which the applications execute. For example, a table such as Table 2 shown below may be stored in data store 114.

TABLE 2 Directly Related applications Application (System in which (Systems in which the related the application is executed) applications are executed) Application A1 (System S1) Application A3 (System 1) Application A4 (System S2) Application A6 (System 3) Application A4 (System S2) Application A6 (System S3) Application A3 (System S4)

In one embodiment, a first application may be considered as directly related to a second application (e.g., A3 (on S1) is directly related to A1 (on S1) in Table 2), if the second application receives data from the first application (i.e., if data flows from the first application to the second application). For example, in Table 2, A3 (on S1) may be identified as directly related to A1 (on S1) because data flows from A3 (on S1) to A1 (on S1).

If application A1 (on S1) is identified in the alert or diagnostic request, then based upon Table 2, applications A3 (on S1), A4 (on S2), and A6 (on S3) are related to A1 (on S1). These applications are thus included in the set of related applications determined in 404. Further, since application A4 (on S2) is related to application A3 (on S4), application A3 (on S4) may also be considered to be indirectly related to application A1 (on S1) and may be included in the set of related applications determined in 404.

Accordingly, in embodiments where related information 114F is stored in data store 114, the information may be queried to identify a set of related applications for the application identified in the alert or diagnostic request. The identified applications that are related may include directly related applications and also indirectly related applications. The processing may comprise detecting directly related applications and then using the directly related applications to determine any indirectly related applications.

A set of related systems is then determined based upon the application and system determined in 402 and based upon the set of related applications determined in 404 (step 406). In one embodiment, the set of related systems may include systems on which the related applications identified in 404 execute. Information such as Table 2 stored in data store 114 may be used to determine the set of related systems. For the example provided above, this may include systems S1, S2, S3, and S4. In this case, the related information 114F may be used to determine the set of related systems. The set of related systems may also include other systems that are interconnected with the system determined in 402.

Topological hierarchical relationships are then determined between the application and system determined in 402 and the applications and systems determined in 404 and 406 (step 408). The hierarchical relationships typically model the flow of data between the applications and systems (see example depicted in FIG. 4B and described below). Based upon the processing performed in 406, a topological relationship is generated between the applications and systems encapsulating their hierarchical relationships.

FIG. 4B depicts an example of a simple topological relationship 450 that may be generated between applications and systems according to an embodiment of the present invention. For purposes of simplifying the following description with reference to FIG. 4B, it is assumed that information stored in Table 2 is used to generate the topological relationship as depicted in FIG. 4B. However, this is not intended to limit the scope of the present invention.

As depicted in FIG. 4B, it is assumed that the application and the system determined in 402 are application A1 executed on system S1. For example, an alert may be received as follows:

-   -   “CPU utilization at 80% for database application A1 in computer         system S1”         The above information states that a condition of CPU utilization         at 80% has been detected for database application A1 executed in         computer system S1. The application and system identified in the         alert are denoted in FIG. 4B by node (A1, S1). From Table 2, it         is determined that application A1 on system S1 is directly         related to application A3 on system S1 (denoted as node (A3, S1)         in FIG. 4B), application A4 on system S2 (denoted as node (A4,         S2) in FIG. 4B), and application A6 on system S3 (denoted as         node (A6, S3) in FIG. 4B). In order to denote these         relationships in topological relationship 450, a link (link A)         is drawn that connects nodes (A1, S1) and (A3, S1) indicating a         relationship between these two nodes. Likewise, a link (link B)         is drawn that connects nodes (A1, S1) and (A4, S2) indicating a         relationship between nodes (A1, S1) and (A4, S2), and a link         (link C) is drawn that connects nodes (A1, S1) and (A6, S3)         indicating a relationship between nodes (A1, S1) and (A6, S3).         Further, according to Table 2, application A4 on system S2         (denoted as node (A4, S2) in FIG. 4B) is related to application         A6 on system S3 (denoted as node (A6, S3) in FIG. 4B) and         Application A3 on system S4 (denoted as node (A3, S4) in FIG.         4B). Accordingly, node (A3,S4) is also considered as being         related to node (A1,S1), although indirectly, and is included in         topological relationship 450. Accordingly, a link (link D) is         drawn that connects nodes (A4, S2) and (A6, S3) indicating a         relationship between nodes (A4, S2) and (A6, S3), and a link         (link E) is drawn that connects nodes (A4, S2) and (A3, S4)         indicating a relationship between nodes (A4, S2) and (A3, S4).         In this manner, a topological relationship 450 is generated for         an alert or diagnostic request identifying A1 and S1 that         comprises nodes (A1, S1), (A3, S1), (A4, S2), (A6, S3), (A3, S4)         and links (A, B, C, D, E), as depicted i FIG. 4B.

As described above, the topological relationship generated in 410 not only represents the application or system that triggered the generation of the alert or request but also other systems and applications in the monitored system that are related to the application or system that triggered the generation of the alert or request. This is useful for the diagnosis, since the cause of the problem that triggered the alert or request may not exist in the application or system that triggered the generation of the alert or request but in some other interconnected application(s) or system(s). The relationships represented by a topological relationship enable identification of such other application(s) and/or system(s). The information encapsulated by the topological relationship thus enables identification of root causes in other systems or applications interconnected to the particular system or application that caused the generation of the alert or request. This enables embodiments of the present invention to diagnose problems across multiple interconnected applications and systems. This is very useful for performing diagnostics in an enterprise system that typically comprises several interconnected applications and systems.

A topological relationship, such as the one depicted in FIG. 4B, is then used to identify a set of models for performing diagnostics for the received alert or diagnostic request. FIG. 5 is a simplified flowchart 500 depicting a method for identifying a set of models for a topological relationship according to an embodiment of the present invention. The method depicted in FIG. 5 may be performed by software (e.g., code, program, instructions) executed by a processor, in hardware, or combinations thereof. The software may be stored on a computer-readable storage medium. The method depicted in FIG. 5 is not intended to limit the scope of the application as recited in the claims.

A topological relationship is analyzed to determine one or more applications and systems included in the topological relationship (step 502). For example, topological relationship 450 depicted in FIG. 4B may be analyzed to identify applications and systems A1 on S1, A3 on S1, A4 on S2, A6 on S3, and A3 on S4.

A diagnostic model is then determined for each system identified in 502 (step 504). The diagnostic models determined for the systems are causal networks, each causal network modeled using a Bayesian network. In one embodiment, a mapping table may be used for mapping a system in the topological relationship to a corresponding diagnostic model. In one embodiment, this may be done based upon a specific symptom type that is associated with the system. For example, a table such as Table 3 shown below may be stored in data store 114. The table may be stored as part of mapping information 114A.

TABLE 3 Symptom Type System Diagnostic Model CPU utilization at 80% S1 M5 Memory usage at 90% S2 M6 No Response S2 M7 No Response S3 M8

Table 3 as shown above indicates that for symptom “CPU utilization at 80%” detected in system S1, the corresponding diagnostic model to be used is model M5. Likewise, for “No Response” detected in system S2, a corresponding diagnostic model to be used is model M7, and so on. Accordingly, information such as information stored in Table 3 may be used in 504 to determine a model for each system included in the topological relationship. The symptom type used for the mapping may be the symptom type identified in the received alert or diagnostic request.

Referring back to FIG. 5, a diagnostic model is determined for each application determined in 502 (step 506). The diagnostic models determined for the applications are causal networks, each causal network modeled using a Bayesian network. In one embodiment, a mapping table may be used for mapping an application in the topological relationship to a corresponding diagnostic model. In one embodiment, this may be done based upon a specific symptom type that is associated with the application. For example, a table such as Table 1 shown discussed above may be used for mapping an application to a corresponding diagnostic model for the application.

Table 1 indicates that for symptom “CPU utilization at 80%” and application A1, the corresponding diagnostic model to be used is model M1. Likewise, for “Memory usage at 90%” and application A2, a corresponding diagnostic model to be used is model M2, and so on. Accordingly, information such as information stored in Table 1 may be used in 506 to determine a model for each application included in the topological relationship. The symptom type used for the mapping may be the symptom type identified in the received alert or diagnostic request.

The models determined based upon the topological relationship are then used to assemble or generate an aggregate model. FIG. 6A is a simplified flowchart 600 depicting a method for generating an aggregate model according to an embodiment of the present invention. The method depicted in FIG. 6A may be performed by software (e.g., code, program, instructions) executed by a processor, in hardware, or combinations thereof. The software may be stored on a computer-readable storage medium. The method depicted in FIG. 6A is not intended to limit the scope of the application as recited in the claims.

As mentioned above, a set of models are identified for systems and applications identified in a topological relationship (e.g., the topological relationship generated in step 310 of FIG. 3). In one embodiment, the set of models identified for the systems and applications in a topological relationship may be causal networks modeled using Bayesian networks.

Information is received related to a topological relationship and diagnostic models determined for the applications and systems included in the topological relationship (step 602). One or more input nodes and one or more output nodes are determined for each model identified in 602 (step 604). In one embodiment, each model has only one input node but can have one or more output nodes. One or more nodes in a diagnostic model are tagged as input or output nodes by a designer of the model during design time. An input node of a model represents a node to which an output node of another model can connect to during assembly of an aggregated model. An output node of a model is a node that represents a summarization of the combination of the node's predecessor nodes in the model.

A summary node is determined for each model identified in 602 from the set of one or more output nodes determined for the model in 604 (step 606). In one embodiment, a summary node represents the combined effects of all the output nodes determined in 604. One of the output nodes of a model may be designated as the summary node for that model during design time when the model is configured.

An aggregate model is then generated by linking the models identified in 602 using the input nodes determined for the models in 604 and the summary nodes determined for the models in 606 and based upon the relationships specified in the topological relationship (step 608). An aggregate model may be generated based on a topological relationship determined between application and systems (e.g., the topological relationship generated in step 310 of FIG. 3). As part of building the aggregate model the relationships between the applications and the systems in the topological relationship are preserved by generating corresponding links or arcs between models corresponding to the applications and systems. Two models are connected by connecting the summary node or one model to an input node of the other model.

FIGS. 6B and FIG. 6C provide an example of how an aggregate model is generated based upon a topological relationship according to an embodiment of the present invention. FIG. 6B depicts a simple topological relationship 600A and FIG. 6C represents an aggregate model 600B generated for topological relationship 600A. As depicted in FIG. 6B, topological relationship 600A specifies a topological relationship between applications and systems represented by nodes (A1, S1), (A3, S2), (A4, S3) and links A, B, C. For example, node (A1, S1) denotes application A1 on system S1, node (A3, S2) denotes application A3 on system S2, and node (A4, S3) denotes application A4 on system S3. The links A, B, C indicate relationships between these nodes.

As depicted in FIG. 6C, aggregate model 600B comprises a diagnostic model for each application and system included in topological relationship 600A. For example, aggregate model 600B comprises a model M(S1) for system S1, a model M(S2) for system S2, a model M(S3) for system S3, a model M(A1) for application A1, a model M(A3) for application A3, and a model M(A4) for application A4. Each model has at least one input node (denoted by IN) and a summary node (denoted by SN).

The models of the applications and systems are connected in such a way so as to preserve the relationships identified between the applications and the systems in topological relationship 600A. Each node in topological relationship 600A represents an application executing on a system. This relationship is represented in the aggregate model by connecting the model corresponding to the application to the model corresponding to the system. In the embodiment depicted in FIG. 6C, the summary node of the model corresponding to the system is connected by a link to the input node of the model corresponding to the application executing on the system. For example, for node (A1,S1) in topological relationship 600A, in aggregate model 600B the summary node of model M(S1) is connected by link K to the input node of M(A1). Likewise, for node (A3,S2) in topological relationship 600A, in aggregate model 600B the summary node of model M(S2) is connected by link N to the input node of M(A3). Similarly, for node (A4,S3) in topological relationship 600A, in aggregate model 600B the summary node of model M(S3) is connected by link P to the input node of M(A4).

In the above example, a relationship represented by a node is created in the aggregate model by creating a link between the summary node of a model for the system and the input node of a model for the application. In alternative embodiments, the relationship represented by the node may be created in the aggregate model by creating a link between the summary node of a model for the application and the input node of a model for the system. Further, in the above example, links between nodes in the topological relationship are represented in the aggregate model by creating a link between a summary node of a model for the application identified in one node and an input node of a model for the system identified in the second node. In alternative embodiments, links between nodes in the topological relationship are represented in the aggregate model by creating a link between a summary node of a model for the system identified in one node and an input node of a model for the application identified in the second node.

Links are also created between models in aggregate model 600B based upon the links between nodes in topological relationship 600A. In one embodiment, this is done by connecting the model corresponding to the application of one node to the model corresponding to the system of another node. In the embodiment depicted in FIG. 6C, the summary node of the model corresponding to the application of one node is connected by a link to the input node of the model corresponding to the system of another node. For example, for the relationship in topological relationship 600A between nodes (A1,S1) and (A3,S2) represented by link A, in aggregate model 600B, the summary node of M(A1) is connected by link M to an input node of M(S2). Likewise, for the relationship in topological relationship 600A between nodes (A1,S1) and (A4,S3) represented by link B, in aggregate model 600B, the summary node of M(A1) is connected by link L to an input node of M(S3). Similarly, for the relationship in topological relationship 600A between nodes (A3,S2) and (A4,S3) represented by link C, in aggregate model 600B, the summary node of M(A3) is connected by link O to an input node of M(S3). In alternate embodiments, the relationships between nodes may be represented in the aggregate model by connecting the summary node of the model corresponding to the system of one node by a link to the input node of the model corresponding to the application of another node.

In this manner, an aggregate model 600B is generated that comprises one or more models or sub-models (e.g., M(S1), M(A1), M(A3), M(S2), M(S3), and M(A4)) and one or more arcs or links (links K, L, M, N, O, P) that connect these sub-models. In one embodiment, each sub-model in an aggregate model may comprise one or more nodes that represent either faults or observations and one or more links that connect the one or more nodes. In one embodiment, faults are the underlying causes that the model tries to infer based on the state of linked observations.

Returning to FIG. 6A, after links have been created between the models, a probability value may be assigned to each link created in the aggregate model between the models (step 610). In one embodiment, the probability value that is assigned to a link in an aggregate model may be a value in the range between 0% and 100%. The value that is assigned to a link in an aggregate model may indicate a degree of influence between the models linked by the link. In one embodiment, the probability values are calculated using predefined rules. In one embodiment, the influence of the one or more input models may be equally weighted to distribute probability equally.

One or more nodes in the aggregate model generated in 608 may then be annotated (step 612). Annotations are performed to ensure that the nodes in the aggregate model can be uniquely identified. This enables diagnostic tests or probes associated with a node to be uniquely identified based upon the annotations created for that node. There are different ways in which a node may be annotated. For example, a node in the aggregate model may be annotated with information that identifies a particular user, an application type, a symptom type, and the like. The aggregate model generated according to the processing depicted in FIG. 6A is then available for further processing including performing diagnostics for the received alert or diagnostic request.

As described above, once an aggregate model is generated, the aggregate model is used to determine the evidence information for the monitored system to be collected in order to perform the diagnostics for the received alert or diagnostic request. The evidence information to be collected represents information about the monitored system that is to be gathered in order to perform the diagnosis. In one embodiment, the aggregate model is used to identify a set of probes or tests to be executed in order to gather the evidence information.

FIG. 7 is a simplified flowchart 700 depicting a method for determining a set of probes and retrieving evidence information for performing diagnosis according to an embodiment of the present invention. The method depicted in FIG. 7 may be performed by software (e.g., code, program, instructions) executed by a processor, in hardware, or combinations thereof. The software may be stored on a computer-readable storage medium. The method depicted in FIG. 7 is not intended to limit the scope of the application as recited in the claims.

As mentioned above, an aggregate model is generated using individual models for applications and systems. These individual models may be referred to as sub-models of the aggregate model. For example, aggregate model 600B depicted in FIG. 6C comprises six sub-models.

Based upon the aggregate model, one or more probes or tests are determined for collecting evidence information to be used for performing diagnosis for the received alert or diagnostic request (step 702). In one embodiment, as part of 702, a set of probes is determined for each sub-model in the aggregate model. It is possible that there may be no probes for a particular sub-model. In one embodiment, probes for a sub-model may be determined based upon the nodes in the sub-model. Since the probes are based upon the aggregate model that has been generated in response to the alert or diagnostic request, the probes are customized for gathering evidence information that is to be used for diagnosing the alert or diagnostic request. The probes are geared to gather evidence for symptoms identified in the alert or diagnostic request.

The probes identified in 702 are then executed (step 704). The probes may be executed either automatically or manually. In the manual case, information may be output to a user recommending/requesting the user to run the identified probes. In one embodiment, the set of probes identified in 702 may be grouped into requests by diagnostic system 212 depicted in FIG. 2 with each request comprising probes corresponding to a sub-model of the aggregate model. Diagnostic system 212 may then forward the requests to evidence collector 210. A request may include various types of information. In one embodiment, the request may include information identifying one or more diagnostic tests to be performed on monitored system 110. As part of 702, evidence collector 210 may then send the requests to monitored system 110 for execution of the requests.

The probes may be executed at monitored system 110. The probes may be directed to different systems or applications in monitored system 110. For example, a request corresponding to a sub-model for a system may be executed on that system. Likewise, a request corresponding to a sub-model for an application may be executed against that application. In this manner, the requests are customized for and directed to specific applications or systems and configured to gather evidence information for those applications and systems. The probes in a request generated for a sub-model are directed to gather information related to the system or application corresponding to the sub-model.

Evidence information collected as a result of executing the probes is then received (step 706). The evidence information that is collected may include configuration information of monitored system 110, results of executing scripts in monitored system 110, log files from monitored system 110, and the like. The evidence information includes observations about the status of monitored system 110. In one embodiment, the evidence information comprises a list of observed values related to monitored system 110.

In one embodiment, the evidence information is received by evidence collector 210 on a per request basis, where the evidence information for a request comprises information collected as a result of executing one or more probes included in the request. Evidence collector 210 may then forward the evidence information to diagnostic system 212.

The evidence information that is received is then prepared for application to the aggregate model (step 708). The processing in 708 may be performed by evidence collector 210 or by diagnostic system 212. Annotations may be added to the evidence information. For example, annotations may be added to the evidence information to enable portions of the evidence information to be properly attributed to certain requests or set of probes, which in turn can be attributed to particular sub-models in the aggregate models. Annotations allow a piece of evidence information to be attributed to a set of probes and their corresponding sub-models in the aggregate model. For example, a portion of the evidence information that is received in 706 may be annotated to indicate that evidence information is collected and received for application A1 in system S1, while another portion of the evidence information is annotated to indicate that a portion of evidence information is collected and received for application A2 in system S3.

In one embodiment, as part of 708, the received evidence information resulting from various requests is collated or merged. As indicated above, evidence information may be received on a per request basis. The requests may be executed at different times. The evidence information received for the various requests may be collated or merged together. In one embodiment, the merging may be performed on a periodic basis, e.g., every 15 minutes. Accordingly, all evidence information that is collected and received during each 15-minute period may be merged. The evidence information is then made available for application to the aggregate model for performing diagnostics for the received alert or diagnostic request (step 710).

As previously described with respect to step 320 of FIG. 3, diagnostics for the received alert or diagnostic request can be performed by applying the gathered evidence information to the aggregate model. Based on this processing, diagnostic results can be generated and output to a user. In one set of embodiments, the diagnostic results can include state information specifying the states of one or more systems or applications in monitored system 110 that are referenced by (or related to) the received alert or diagnostic request. These states can correspond to conditions of the systems or applications that are observable by or otherwise meaningful to a user. In further embodiments, the diagnostic results can include impact information specifying the impact of a particular system/application's state to a user, and preventive or curative measures to mitigate or resolve the impact. In yet further embodiments, the diagnostic results can include causal information specifying one or more root causes of the symptoms included in the received alert or diagnostic request and the likelihood of each identified cause.

FIG. 8 is a simplified flowchart 800 depicting a method for generating diagnostic results according to an embodiment of the present invention. The method depicted in FIG. 8 can be performed in software (e.g., code, program, instructions) executed by a processor, in hardware, or combinations thereof. The software can be stored on a computer-readable storage medium. The method depicted in FIG. 8 is not intended to limit the scope of the application as recited in the claims. The processing depicted in FIG. 8 assumes that an alert or diagnostic request has been received and processed according to steps 302-320 of FIG. 3.

At step 802, state information specifying a state of a system or application in monitored system 110 can be determined and output. In certain embodiments, the state information can specify a state of a particular system or application that is referenced by the received alert or diagnostic request. In other embodiments, the state information can specify a state of any other system or application in monitored system 110, or a state of monitored system 110 itself. The state information can be determined based on the diagnostic processing performed at step 320 of FIG. 3. For example, the state of a given system or application can be derived from a summary node for that system or application's sub-model upon applying the gathered evidence data to the aggregate model.

In one set of embodiments, the state of a system or application determined and output at step 802 can represent a condition of the system or application that is observable by or otherwise meaningful to a user. For instance, assume that the alert or diagnostic request received at step 302 of FIG. 3 includes various detailed, technical symptoms (e.g., memory allocation sizes, thread count, CPU temperature, etc.) pertaining to the operation of system S1 in monitored system 110. Based on these technical symptoms, a state can be determined for system S1 that includes a high-level description of the condition and/or performance level of S1 (e.g., system S1 is running slowly). This high-level description (rather than the technical symptom information) can then be output to a user for review. In this manner, diagnostic information about the operation of monitored system 110 can be presented to users in an easily understandable and meaningful format.

At step 804, a user impact can be determined and output based on the state determined at step 802. In various embodiments, the user impact can indicate whether the user can or cannot perform an operation with respect to a system or application in view of its current state. Returning to the example above, if the state information output at step 802 indicates that system Si is running very slowly, an impact to a user of S1 may be that the user will not be able to complete a job on S1 within a specific period of time.

At step 806, a user alert can be generated and output based on the user impact determined at step 804. This will typically occur if the impact is deemed serious enough to require notification of a user (e.g., a critical job cannot be completed, etc.). In one set of embodiments, a decision table or other data structure can be created to associate impacts with alerts. This decision table can then be used to determine whether to generate and output an alert upon identification of an impact. For instance, an impact 1 may be associated with an alert A, and an impact 2 may be associated with alerts B and C. Thus, if impact 1 is identified, alert A will be generated and output. Similarly, if impact 2 is identified, alerts B and C will be generated and output.

The alerts can take any of a number of different forms. In one set of embodiments, an alert can include a description of the identified impact and the affected systems and/or applications. In further embodiments, the alert can include additional information to aid the user in addressing the impact. Further, the alerts can be communicated to designated users via any known communication mechanism (e.g., email, voicemail, text message, etc.).

At step 808, one or more recommendations can be determined and output to a user for mitigating or avoiding the user impact determined at step 804. The user can then take one or more actions based upon the recommendations. For example, a user can install appropriate patches that solve a particular failure detected in a system or application of monitored system 110. In another embodiment, the user can inform another user (e.g., a user at a client site) to take appropriate corrective/preventive measures.

At step 810, likely root causes for the symptoms included in the alert or diagnostic request received at step 302, as well as a likelihood of each root cause, can be determined and output. If the alert or diagnostic request was generated as a result of a condition detected in a particular application/system in monitored system 110, the root cause may exist in the same application/system or in some other applications/systems in monitored system 110. Accordingly, root causes can be identified in the application/system that caused the generation of the alert or diagnostic request, or in applications/systems interconnected to that particular application/system.

In one set of embodiments, the root causes (and likelihood of each cause) can be determined based on the diagnostic processing performed at step 320 of FIG. 3. As described above, the aggregate model used at step 320 is a causal Bayesian network, where each node in the network represents either faults or observations in the applications/systems of monitored system 110, and where links between the nodes represent degrees of influence between the faults or observations. Thus, by applying gathered evidence data to the aggregate model, inferences can be drawn and probabilities can be calculated regarding the possible root causes of a particular symptom or condition. For example, given a summary node in the aggregate model, root causes for the state of an application or system represented by the summary node can determined based on the predecessor nodes that precede the summary node in the aggregate model. Further, likelihoods of the root causes can be determined based on the degrees of influence between the predecessor nodes.

In one set of embodiments, the information output in steps 802-810 can be output to a user via a renderer such as result renderer 116 of FIG. 1. Result renderer 116 can output results is a variety of different formats, such as XML, HTML, and the like. Result renderer 116 may also be used to generate one or more reports based upon the diagnostic results. In other embodiments, the information output in steps 802-810 can be provided to some other processing component for further processing, or stored in a storage device such as database 114 of FIG. 2.

FIG. 9 is an example GUI 900 depicting how diagnostic results may be output according to an embodiment of the present invention. GUI 900 displays information related to diagnostics performed by causal heuristic system 112. As shown, GUI 900 can include information (902) identifying an alert that triggered the diagnostic analysis, and a state 904 of the monitored system (e.g., database performance problem). A level of certainty 906 of the state can also be indicated. GUI 900 can also include information (908) identifying possible root causes of the database performance problem, and for each root cause, the likelihood or probability 910 that the root cause caused the problem. From the information included in GUI 900, a user can easily determine the likely cause of the observed state. GUI 900 thus comprises information that enables a user to determine the likely root causes for an observed state in an easy, automated, and timely manner.

GUI 900 can also include one or more recommendations 912 for alleviating the problem. Information 914 identifying scripts that are executed and raw data that is collected and used for the diagnostics analysis is also identified. Although not shown, in some embodiments GUI 900 can also include impact information identifying an impact of state 904 to a user.

As described, probabilistic causal heuristics are used to perform diagnosis. The diagnostic processing identifies likely root causes of conditions or errors detected in a monitored system. By using causal heuristics for performing the analysis, embodiments of the present invention are able to perform root cause analysis even when the diagnostic data is not complete. Accordingly, embodiments of the present invention are able to provide likely root cause analysis results even with incomplete diagnostic data. This is not possible with traditional diagnostic systems that use deterministic rules based systems that require complete diagnostic data in order to perform the diagnosis.

By providing causal models for applications and systems, embodiments of the present invention simplify the complexity of a monitored system into manageable individual components. A causal model for a system or application codifies the tribal knowledge of problem diagnosability for the system or application. Further, by selecting one or more models to be used for the diagnostics based upon information in the alert or diagnostic request, only those models that are relevant for diagnosing a particular problem are automatically selected. The aggregate model built using these selected models thus represents a causal model that is customized for the alert or diagnostic request being diagnosed. In this manner, embodiments of the present invention enable situation-specific diagnostics.

Further, by building a topological relationship that encompasses applications and systems, software infrastructure and system level interactions are represented and considered during the diagnosis. This is superior to many traditional diagnostic systems that only perform diagnostics by analyzing intra-application level problems but do not take into consideration underlying system level interactions and issues. Embodiments of the present invention enable diagnostics that encompass business process applications failures and underlying infrastructure component failures.

In addition to identifying root causes, the likelihood or probability of each root cause contributing to the problem being diagnosed is also provided by embodiments of the present invention. The causal modeling of problem diagnosability and system knowledge enables the diagnosis to disambiguate, diagnose, and classify problems that are neither certain nor unlikely but suspect—a category of problems that identifies potential eminent problems, and which cannot be diagnosed by traditional rule-based diagnostic systems.

FIG. 11 is a simplified block diagram illustrating physical components of a system environment 1100 that may be used in accordance with an embodiment of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications.

As shown, system environment 1100 includes one or more client-computing devices 1102, 1104, 1106, 1108 communicatively coupled with a server computer 1110 via a network 1112. In one set of embodiments, client-computing devices 1102, 1104, 1106, 1108 may be configured to run one or more components of a graphical interface described above.

Client-computing devices 1102, 1104, 1106, 1108 may be general purpose personal computers (including, for example, personal computers and/or laptop computers running various versions of Microsoft Windows and/or Apple Macintosh operating systems), cell phones or PDAs (running software such as Microsoft Windows Mobile and being Internet, e-mail, SMS, Blackberry, and/or other communication protocol enabled), and/or workstation computers running any of a variety of commercially-available UNIX or UNIX-like operating systems (including without limitation the variety of GNU/Linux operating systems). Alternatively, client-computing devices 1102, 1104, 1106, and 1108 may be any other electronic devices capable of communicating over a network (e.g., network 1112 described below) with server computer 1110. Although system environment 1100 is shown with four client-computing devices and one server computer, any number of client-computing devices and server computers may be supported.

Server computer 1110 may be a general-purpose computer, specialized server computer (including, e.g., a LINUX server, UNIX server, mid-range server, mainframe computer, rack-mounted server, etc.), server farm, server cluster, or any other appropriate arrangement and/or combination. Server computer 1110 may run an operating system including any of those discussed above, as well as any commercially available server operating system. Server computer 1110 may also run any of a variety of server applications and/or mid-tier applications, including web servers, Java virtual machines, application servers, database servers, and the like. In various embodiments, server computer 1110 is adapted to run one or more Web services or software applications that provide the diagnostics functionality described above. For example, server computer 1110 may be configured to execute the various methods described in the various flowcharts described above.

As shown, client-computing devices 1102, 1104, 1106, 1108 and server computer 1110 are communicatively coupled via network 1112. Network 1112 may be any type of network that can support data communications using any of a variety of commercially-available protocols, including without limitation TCP/IP, SNA, IPX, AppleTalk, and the like. Merely by way of example, network 1112 may be a local area network (LAN), such as an Ethernet network, a Token-Ring network and/or the like; a wide-area network; a virtual network, including without limitation a virtual private network (VPN); the Internet; an intranet; an extranet; a public switched telephone network (PSTN); an infrared network; a wireless network (e.g., a network operating under any of the IEEE 802.11 suite of protocols, the Bluetooth protocol known in the art, and/or any other wireless protocol); and/or any combination of these and/or other networks. In various embodiments, the client-computing devices 1102, 1104, 1106, 1108 and server computer 1110 are able to access the database 1114 through the network 1112. In certain embodiments, the client-computing devices 1102, 1104, 1106, 1108 and server computer 1110 each has its own database.

System environment 1100 may also include one or more databases 1114. Database 1114 may correspond to an instance of integration repository as well as any other type of database or data storage component described in this disclosure. Database 1114 may reside in a variety of locations. By way of example, database 1114 may reside on a storage medium local to (and/or resident in) one or more of the computers 1102, 1104, 1106, 1108, 1110. Alternatively, database 1114 may be remote from any or all of the computers 1102, 1104, 1106, 1108, 1110 and/or in communication (e.g., via network 1112) with one or more of these. In one set of embodiments, database 1114 may reside in a storage-area network (SAN) familiar to those skilled in the art. Similarly, any necessary files for performing the functions attributed to the computers 1102, 1104, 1106, 1108, 1110 may be stored locally on the respective computer and/or remotely on database 1114, as appropriate. In one set of embodiments, database 1114 is a relational database, such as Oracle 10g available from Oracle Corporation that is adapted to store, update, and retrieve data in response to SQL-formatted commands. In various embodiments, database 1114 stores data that is used for providing diagnostic capabilities as described above.

FIG. 12 is a simplified block diagram of a computer system that may be used to practice an embodiment of the present invention. Computer system 1200 may serve as a processing system 102 depicted in FIG. 1. In various embodiments, computer system 1200 may be used to implement any of the computers 1102, 1104, 1106, 1108, 1110 illustrated in system environment 1100 described above. In one embodiment, one or more computer systems 1200 may be used to implement processing system 102. As shown in FIG. 12, computer system 1200 includes a processor 1202 that communicates with a number of peripheral subsystems via a bus subsystem 1204. These peripheral subsystems may include a storage subsystem 1206, comprising a memory subsystem 1208 and a file storage subsystem 1210, user interface input devices 1212, user interface output devices 1214, and a network interface subsystem 1216.

Bus subsystem 1204 provides a mechanism for letting the various components and subsystems of computer system 1200 communicate with each other as intended. Although bus subsystem 1204 is shown schematically as a single bus, alternative embodiments of the bus subsystem may utilize multiple busses.

Network interface subsystem 1216 provides an interface to other computer systems, networks, and portals. Network interface subsystem 1216 serves as an interface for receiving data from and transmitting data to other systems from computer system 1200. For example, network interface subsystem 1216 may facilitate communication of data between processing system 102 and monitored system 110.

User interface input devices 1212 may include a keyboard, pointing devices such as a mouse, trackball, touchpad, or graphics tablet, a scanner, a barcode scanner, a touch screen incorporated into the display, audio input devices such as voice recognition systems, microphones, and other types of input devices. In general, use of the term “input device” is intended to include all possible types of devices and mechanisms for inputting information to computer system 1200.

User interface output devices 1214 may include a display subsystem, a printer, a fax machine, or non-visual displays such as audio output devices, etc. The display subsystem may be a cathode ray tube (CRT), a flat-panel device such as a liquid crystal display (LCD), or a projection device. In general, use of the term “output device” is intended to include all possible types of devices and mechanisms for outputting information from computer system 1200.

Storage subsystem 1206 provides a computer-readable storage medium for storing the basic programming and data constructs that provide the functionality of the present invention. Software (programs, code modules, instructions) that when executed by a processor provide the functionality of the present invention may be stored in storage subsystem 1206. These software modules or instructions may be executed by processor(s) 1202. Storage subsystem 1206 may also provide a repository for storing data used in accordance with the present invention. For example, data store 114 may be stored in storage subsystem 1206. Information such as system information related to monitored system 110, conditions detected in monitored system 110, diagnostic requests received from users or alerts generated in response to conditions in monitored system 110, and other information used by processing system 102 for performing diagnostics as described above may be stored in storage subsystem 1206. Topological relationship information, evidence information gathered by processing system 102, results of diagnostics, diagnostic reports, and other like information may also be stored in storage subsystem 1206. Storage subsystem 1206 may comprise memory subsystem 1208 and file/disk storage subsystem 1210.

Memory subsystem 1208 may include a number of memories including a main random access memory (RAM) 1218 for storage of instructions and data during program execution and a read only memory (ROM) 1220 in which fixed instructions are stored. File storage subsystem 1210 provides persistent (non-volatile) storage for program and data files, and may include a hard disk drive, a floppy disk drive along with associated removable media, a Compact Disk Read Only Memory (CD-ROM) drive, an optical drive, removable media cartridges, and other like storage media.

Computer system 1200 can be of various types including a personal computer, a portable computer, a workstation, a network computer, a mainframe, a kiosk, a server or any other data processing system. Due to the ever-changing nature of computers and networks, the description of computer system 1200 depicted in FIG. 12 is intended only as a specific example for purposes of illustrating the preferred embodiment of the computer system. Many other configurations having more or fewer components than the system depicted in FIG. 12 are possible.

Although specific embodiments of the invention have been described, various modifications, alterations, alternative constructions, and equivalents are also encompassed within the scope of the invention. Embodiments of the present invention are not restricted to operation within certain specific data processing environments, but are free to operate within a plurality of data processing environments. Additionally, although embodiments of the present invention have been described using a particular series of transactions and steps, it should be apparent to those skilled in the art that the scope of the present invention is not limited to the described series of transactions and steps.

Further, while embodiments of the present invention have been described using a particular combination of hardware and software, it should be recognized that other combinations of hardware and software are also within the scope of the present invention. Embodiments of the present invention may be implemented only in hardware, or only in software, or using combinations thereof.

The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. It will, however, be evident that additions, subtractions, deletions, and other modifications and changes may be made thereunto without departing from the broader spirit and scope as set forth in the claims. 

What is claimed is:
 1. A method comprising: receiving, by a computer system, an aggregate model of a monitored system comprising a plurality of models and links between the models created based on relationships in a topological relationship identifying a set of applications, a set of systems configured to execute the set of applications, and relationships between the set of applications and the set of systems, each model in the plurality of models corresponding to a system or an application in the monitored system; receiving, by the computer system, data related to the monitored system; and generating, by the computer system, diagnostic result information for the system or the application in the monitored system by applying the data to the aggregate model, the generating comprising: determining a state of the system or the application; and determining an impact of the state on a user of the system or the application.
 2. The method of claim 1 wherein the state corresponds to a condition that is observable by the user.
 3. The method of claim 1 wherein determining the impact comprises determining whether the user can or cannot perform an operation with respect to the system or the application.
 4. The method of claim 1 further comprising generating an alert for the user based on the impact.
 5. The method of claim 4 wherein generating the alert comprises: accessing a decision table comprising associations between a plurality of alerts and a plurality of impacts; and generating the alert if the alert is associated with the impact in the decision table.
 6. The method of claim 1 wherein generating the diagnostic result information further comprises determining one or more recommended actions that can be taken by the user to mitigate or resolve the impact.
 7. The method of claim 1 wherein generating the diagnostic result information further comprises determining one or more possible root causes of the state and a likelihood of each possible root cause.
 8. The method of claim 1 wherein each model in the plurality of models comprises a plurality of nodes and directed links between the nodes, wherein each node corresponds to a fault in the system or the application, and wherein each directed link corresponds to a causal relationship between faults.
 9. The method of claim 8 wherein determining the state of the system or the application comprises: identifying a summary node in the model corresponding to the system or the application; and determining the state based on the summary node.
 10. The method of claim 9 wherein generating the diagnostic result information further comprises determining one or more possible root causes of the state, and wherein determining the one or more possible root causes comprises: identifying one or more predecessor nodes that precede the summary node in the model; and determining the one or more possible root causes based on the one or more predecessor nodes.
 11. The method of claim 8 wherein each model in the plurality of models is a Bayesian network.
 12. A non-transitory computer-readable medium storing a plurality of instructions for controlling a processor, the plurality of instructions comprising: instructions that cause the processor to receive an aggregate model of a monitored system comprising a plurality of models and links between the models created based on relationships in a topological relationship identifying a set of applications, a set of systems configured to execute the set of applications, and relationships between the set of applications and the set of systems, each model in the plurality of models corresponding to a system or an application in the monitored system; instructions that cause the processor to receive data related to the monitored system; and instructions that cause the processor to generate diagnostic result information for the system or the application in the monitored system by applying the data to the aggregate model, the generating comprising: instructions that cause the processor to determine a state of the system or the application; and instructions that cause the processor to determine an impact of the state on a user of the system or the application.
 13. The non-transitory computer-readable medium of claim 12 wherein the state corresponds to a condition that is observable by the user.
 14. The non-transitory computer-readable medium of claim 12 wherein the instructions that cause the processor to determine the impact comprises instructions that cause the processor to determine whether the user can or cannot perform an operation with respect to the system or the application.
 15. The non-transitory computer-readable medium of claim 12 wherein the plurality of instructions further comprise instructions that cause the processor to generate an alert for the user based on the impact.
 16. The non-transitory computer-readable medium of claim 15 wherein the instructions that cause the processor to generate the alert comprises: instructions that cause the processor to access a decision table comprising associations between a plurality of alerts and a plurality of impacts; and instructions that cause the processor to generate the alert if the alert is associated with the impact in the decision table.
 17. The non-transitory computer-readable medium of claim 12 wherein the instructions that cause the processor to generate the diagnostic result information further comprises instructions that cause the processor to determine one or more recommended actions that can be taken by the user to mitigate or resolve the impact.
 18. The non-transitory computer-readable medium of claim 12 wherein the instructions that cause the processor to generate the diagnostic result information further comprises instructions that cause the processor to determine one or more possible root causes of the state and a likelihood of each possible root cause.
 19. The non-transitory computer-readable medium of claim 12 wherein each model in the plurality of models comprises a plurality of nodes and directed links between the nodes, wherein each node corresponds to a fault in the system or the application, and wherein each directed link corresponds to a causal relationship between faults.
 20. The non-transitory computer-readable medium of claim 19 wherein the instructions that cause the processor to determine the state of the system or the application comprises: instructions that cause the processor to identify a summary node in the model corresponding to the system or the application; and instructions that cause the processor to determine the state based on the summary node.
 21. The non-transitory computer-readable medium of claim 20 wherein the instructions that cause the processor to generate the diagnostic result information further comprises instructions that cause the processor to determine one or more possible root causes of the state, and wherein the instructions that cause the processor to determine the one or more possible root causes comprises: instructions that cause the processor to identify one or more predecessor nodes that precede the summary node in the model; and instructions that cause the processor to determine the one or more possible root causes based on the one or more predecessor nodes.
 22. The non-transitory computer-readable medium of claim 19 wherein each model in the plurality of models is a Bayesian network.
 23. A system comprising: a processing component configured to: receive an aggregate model of a monitored system comprising a plurality of models and links between the models created based on relationships in a topological relationship identifying a set of applications, a set of systems configured to execute the set of applications, and relationships between the set of applications and the set of systems, each model in the plurality of models corresponding to a system or an application in the monitored system; receive data related to the monitored system; and generate diagnostic result information for the system or the application in the monitored system by applying the data to the aggregate model, the generate comprising: determine a state of the system or the application; and determine an impact of the state on a user of the system or the application. 